package com.gulimall.seckill.service;

import com.common.to.Seckill.SeckillSkuRedisTo;

import java.util.List;

/**
 * @Author Rookie-6688
 * @Description
 * @Create 2021-05-13 9:46
 */
public interface SeckillService {

    void uploadSeckillSkuLasted3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String seckill(String killId, String key, Integer num) throws InterruptedException;
}
